﻿//INNOVACALL FRAMEWORK MUST BE IN ALL VIEW JAVASCRIPT
$.fn.DocReady = function () {
    //Add call to execute when document is ready
    $("input[type=submit]").button();
    var openingMessage = $("#hidOpeningMessage").val();
    if (openingMessage != "") {
        var title = cap_DialogErrorTitle;
        if (cap_OpeningMessageTitle != null) {
            title = cap_OpeningMessageTitle;
        }
        $.fn.jqDialogAlert(cap_OpeningMessageTitle, openingMessage, "", 500, 100);
    }
}
